<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Untitled Document</title>
        <script>
            $(document).ready(function(){
                $("#moto_finalizar modelo").onchange(function(a){
                    
//                    var sele = document.getElementById('marcas').getElementsByTagName('select')[0];
//                    var valorSelecionado = sele.options[sele.selectedIndex].value;
//                    $.wl_Alert(valorSelecionado,'success','#container');
                });
            });
        </script>
        <style type="text/css">
            <!--
            body {
                font: 100% Verdana, Arial, Helvetica, sans-serif;
                background: #FFF;
                margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
                padding: 0;
                text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
                color: #000000;
            }
            .oneColFixCtr #container {
                width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
                background: #FFFFFF;
                margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
                border: 0px solid #000000;
                text-align: left; /* this overrides the text-align: center on the body element. */
            }
            .oneColFixCtr #mainContent {
                padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
            }
            -->
        </style>
    </head>

    <body class="oneColFixCtr">

        <div id="container">
            <div id="mainContent">

                <form action="{base_url}moto" method="POST">
                    <p>{lang_cadastro}</p>
                    <p>{lang_info}</p>
                    <label>{lang_nome}</label><input type="text" name="nome"/>
                    <input type="radio" name="moto" value="{lang_m_usada}">{lang_m_usada}</input>
                    <input type="radio" name="moto" value="{lang_m_zera}" checked>{lang_m_zera}</input>
                    <label>{lang_renavam}</label><input type="text" name="renavam">
                        <label>{lang_placa}</label><input type="text" name="placa">
                            <p>{lang_plano}</p>
                            <button id="cadastrar_veiculo" value="cadastrar_veiculo">{lang_continuar}</button>
                            </form>

                            <form id="moto_finalizar" action="{base_url}moto" method="POST">
                                <p>{lang_detalhes}</p>
                                <label>{lang_marca}</label>{marcas}
                                <label>{lang_ano_mod}</label>{anos_mod}
                                <label>{lang_ano_fab}</label>{anos_fab}
                                <label>{lang_preco}</label><input type="text" name="preco"/>
                                <label>{lang_cilindrada}</label><input type="text" name="cilindrada" value="{cilindrada}"/>
                                <label>{lang_estilo}</label><input type="text" name="estilo" value="{estilo}"/>
                                <label>{lang_km}</label><input type="text" name="km"/>

                                <button id="finalizar_cadastro" value="finalizar_cadastro">{lang_continuar}</button>
                            </form>

                            </div>
                            <!-- end #container --></div>
                            <p>&nbsp;</p>
                            <p>&nbsp;</p>
                            <p>&nbsp;</p>
                            <p>&nbsp;</p>
                            </body>
                            </html>